@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
button{
-moz-appearance:none;
-moz-border-image:url("chrome://global/skin/button/button.png") 4 4 4 5 / 4px 4px 4px 5px;
min-width:6.3em;
height:27px;
-moz-background-clip:padding!important;
margin:1px 5px 2px}

button[default="true"] > .button-box,button:focus > .button-box{
border:1px dotted rgba(255,255,255,.3)}

button:hover{
-moz-border-image:url("chrome://global/skin/button/button-hover.png") 4 4 4 5 / 4px 4px 4px 5px}

button:hover .button-text,
button[default="true"] .button-text,
button:not([disabled="true"]):hover:active .button-text{
color:#fff}

button:hover:active,
button[open="true"],
button[checked="true"]{
-moz-border-image:url("chrome://global/skin/button/button-active.png") 4 4 4 5 / 4px 4px 4px 5px}

button:hover:active > .button-box:-moz-system-metric(windows-classic),
button[open="true"] > .button-box:-moz-system-metric(windows-classic),
button[checked="true"] > .button-box:-moz-system-metric(windows-classic){
padding-top:2px;
padding-bottom:1px;
-moz-padding-start:4px;
-moz-padding-end:3px}

button[disabled="true"]{
-moz-border-image:url("chrome://global/skin/button/button-disabled.png") 4 4 4 5 / 4px 4px 4px 5px}

button[disabled="true"] .button-text{
color:#5b5b5b}

button[disabled="true"] > .button-box{
padding-top:1px!important;
padding-bottom:2px!important;
-moz-padding-start:3px!important;
-moz-padding-end:4px!important}

button[type="menu-button"]{
-moz-box-align:center;
-moz-box-pack:center;
border:none;
margin:0;
padding:0}

.button-menu-dropmarker,
.button-menubutton-dropmarker{
-moz-appearance:none!important;
background-color:transparent!important;
border:none!important;
min-width:11px;
min-height:11px;
list-style-image:url("chrome://global/skin/toolbarbutton/dropmarker.png");
margin:1px}

.button-menubutton-dropmarker[open="true"]{
margin-top:2px;
margin-bottom:0;
-moz-margin-start:2px;
-moz-margin-end:0}

button.plain{
border:0!important;
margin:0!important;
padding:0!important}

button[type="disclosure"]{
border:0!important;
-moz-appearance:none;
list-style-image:url("chrome://global/skin/tree/twisty-clsd.png");
min-width:0!important;
background-color:transparent;
margin:0!important;
padding:0!important}

button[type="disclosure"][open="true"]{
list-style-image:url("chrome://global/skin/tree/twisty-open.png")}

richlistitem[selected="true"] button{
-moz-border-top-colors:#2067b0 #fafdfe;
-moz-border-right-colors:#2067b0 #eef8fe;
-moz-border-bottom-colors:#2067b0 #e8f5fc;
-moz-border-left-colors:#2067b0 #eef8fe}

.button-box{
border:1px solid transparent;
padding-top:1px;
padding-bottom:2px;
-moz-padding-start:3px;
-moz-padding-end:4px}

.button-text{
text-align:center;
margin:0!important;
text-shadow:#000 0 0 2px}